package com.woniuxy.commons.exception;

import com.woniuxy.commons.exception.code.AddressExceptionCode;
import com.woniuxy.commons.exception.code.CartExceptionCode;

public class AddressException extends WoniuxyException {
    private static final long serialVersionUID = 1L;
    public AddressException(Integer code, String message) {
        super(code, message);
    }
    public AddressException(AddressExceptionCode addressExceptionCode){
        super(addressExceptionCode.getCode(),addressExceptionCode.getMessage());
    }
}
